home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / gfx / misc / SuperDance.lha / SuperDance / README.txt next >
Text File  |  1995-06-16  |  3KB  |  54 lines

  1.   Hello  and welcome to Superdance, a totaly useless but nonetheless fun to
  2. look  at  piece  of  eye candy in HAM.  Simply run the program (from CLI or
  3. Workbench), select a screen and watch.
  4.  
  5.   You  have a choice between rectangles and ploygons from the menu, as well
  6. as  varying  the  rate  of  movement, and most importantly you can find out
  7. about who wrote this.
  8.  
  9.   SuperDance  uses  HAM  or HAM8 mode and can therefore generate any colour
  10. from  the  rainbow.   By  using some clever tricks, the drawing can overlap
  11. previous  drawings without screwing up the colours.  I found this idea from
  12. a  similar  program called "Dance" from an old Fish disk.  After looking at
  13. it,  I  decided  there  were  number  of improvements I could make to speed
  14. things up tremendously.  SuperDance is a totaly new program.
  15.  
  16.   The technique is simple.  Basicly, the polygons are drawn with a pattern.
  17. The pattern is just a repeating sequence of HAM codes:  set red, set green,
  18. set  blue,  over and over.  I just poke the pattern with the red, green and
  19. blue  values  for  whatever  colour  I want, and then draw the polygon.  At
  20. worst,  three  pixels  around the polygon will be affected adversely -- the
  21. infamous  HAM "fringing".  But you won't get long horizontal streaking like
  22. you  would in a typical HAM picture.  The drawback is that the edges of the
  23. polygon may be very "chunky" looking, depending on the colours.  But at 640
  24. x 400 on an AGA Amiga, you can barely tell.
  25.  
  26.   Another trick I use is to only draw into the two HAM control planes once,
  27. Rectfill()'ing the whole area with the RGB pattern.  Thereafter I only need
  28. to draw 4 (or 6 for HAM8) planes for the polygons.
  29.  
  30.   I  have  considered  making  SuperDance  more  interesting by having more
  31. complex  patterns.   Instead  of  random polygon or rectangle, it could for
  32. instance  draw  a star and then rotate, zoom, morph into other shapes, etc.
  33. I'm  not  sure  how to create an algorithm that would be pseudo-random, but
  34. not (almost) completely random like now.
  35.  
  36.   At  any  rate,  this  software  is  written  by  me, Aric R Caley.  It is
  37. freeware,  distribute it as you please, but don't change the archive in any
  38. way!   You  may  not make it part of a commercial package without asking me
  39. first  (I  doubt that will happen anyway :), and if you want to put it in a
  40. disk  collection  I  would  appreciate hearing about it.  If you like it, I
  41. wouldn't mind getting a postcard from you, or an EMail.  If you really like
  42. it, I really wouldn't mind a few dollars or a few disks of things you think
  43. are cool :)
  44.  
  45. Internet:
  46.  
  47. dances@qedbbs.com (can't reply to messages right now)
  48.  
  49. Snail mail:
  50.  
  51. Aric R Caley
  52. 8720 Valley View, apt J5.
  53. Buena Park, CA, 90620.
  54.